<?php 
	ini_set('display_errors', 0);
	$page=$_SERVER['REQUEST_URI'];
	//echo $page;
	if($page==$this->url('cdashboard', array('action' => 'cdashboard'))){
			$cdashboard="active";
	}else if($page==$this->url('caccount', array('action' => 'caccount'))){
		$caccount="active";
	}else if($page==$this->url('ccall-details', array('action' => 'ccall-details'))){
		$ccallrecords="active";
	}else if($page==$this->url('csettings', array('action' => 'csettings'))){
		$csettings="active";
	}else if($page==$this->url('cpayments', array('action' => 'cpayments'))){
		$cpayments="active";
	}else if($page==$this->url('cusage-graph', array('action' => 'cusage-graph'))){
		$cusage_graph="active";
	}else if($page==$this->url('cpackages-1', array('action' => 'cpackages-1'))){
		$cpackages="active";
	}/*else if($page==$this->url('cphonebook', array('action' => 'cphonebook'))){
		$cphonebook="active";
	}*/
	
?>
	<li ><a href="<?php echo $this->url('cdashboard', array('action' => 'cdashboard')); ?>" class="<?php echo $cdashboard;?>"><img src="<?php echo $this->basePath(); ?>/images/dashboard-icon.png">Dashboard</a></li>
    <li><a href="<?php echo $this->url('caccount', array('action' => 'caccount')); ?>" class="<?php echo $caccount;?>"><img src="<?php echo $this->basePath(); ?>/images/accounts.png">Accounts</a></li>
    <li><a href="<?php echo $this->url('ccall-details', array('action' => 'ccall-details')); ?>" class="<?php echo $ccallrecords;?>"><img src="<?php echo $this->basePath(); ?>/images/call-records.png">Call Records</a></li>
    <li><a href="<?php echo $this->url('csettings', array('action' => 'csettings')); ?>" class="<?php echo $csettings;?>"><img src="<?php echo $this->basePath(); ?>/images/settings.png">Settings</a></li>
    <li><a href="<?php echo $this->url('cpayments', array('action' => 'cpayments')); ?>" class="<?php echo $cpayments;?>"><img src="<?php echo $this->basePath(); ?>/images/payments.png">Payments</a></li>
   <!-- <li><a href="<?php //echo $this->url('cusage-graph', array('action' => 'cusage-graph')); ?>" class="<?php //echo $cusage_graph;?>"><img src="<?php //echo $this->basePath(); ?>/images/usage-icon.png">Usage</a></li>-->
    <li><a href="<?php echo $this->url('cpackages-1', array('action' => 'cpackages-1')); ?>" class="<?php echo $cpackages;?>"><img src="<?php echo $this->basePath(); ?>/images/packages-icon.png">Packages</a></li>
	<!--<li><a href="<?php //echo $this->url('cphonebook', array('action' => 'cphonebook')); ?>" class="<?php //echo $cphonebook;?>"><img src="<?php //echo $this->basePath(); ?>/images/phonebook-icon.png">Phonebook</a></li>-->
